'use strict'


import request from '@/utils/request'

export function loginPA(data) {
    return request({
        url: '/PAPublic/PALogin',
        method: 'post',
        data
    })
}

export function activate(data) {
    return request({
        url: '/PAPublic/Activate',
        method: 'post',
        data
    })
}

export function register(data) {
    return request({
        url: '/PAPublic/Register',
        method: 'post',
        data
    })
}

export function verifyCode(parameter) {
    return request({
      url: '/PAPublic/VerifyCode',
      method: 'get',
      params: parameter
    })
}

export function check(parameter) {
    return request({
      url: '/PAPublic/Check',
      method: 'get',
      params: parameter
    })
}